package org.yray.javacpp.audio;

import cn.hutool.core.io.FileUtil;
import org.yray.javacpp.format.WavFile;

public class Esp32 {
    public static void main(String[] args) {
        byte[] bs=FileUtil.readBytes("D://r");
        String wavName="D://a.wav";
        WavFile wavFile=new WavFile(wavName);
        wavFile.write(bs);
        wavFile.writeFileLen(bs.length);
        wavFile.close();
    }
}
